package cz.cvut.vrtisja2.muchktom.dialogs;

import cz.cvut.vrtisja2.muchktom.R;
import android.app.Dialog;
import android.content.Context;
import android.view.View;
import android.widget.Button;

public class AddListDialog extends Dialog{

	//====================Constructors========================
	public AddListDialog(Context context) {
		super(context);
		this.setTitle(R.string.dialog_add_title);
        this.setContentView(R.layout.dialog_new_list);
        this.setCancelable(true);
        okButton = (Button) findViewById(R.id.addDialog_ok);
        okButton.setOnClickListener(okButtonListener);
	}
	
	
	//====================Instance variables==================
	private Button okButton;
	
	//====================Instance Methods====================
	
	private android.view.View.OnClickListener okButtonListener = new android.view.View.OnClickListener() {

		@Override
		public void onClick(View v) {
			dismiss();
			
		}
	};
	

}
